import request from '@/utils/request'
// 登录
export const sysLoginRequest = ({ mobile, password }) => {
  return request.post('/sys/login', { mobile, password })
}
// 获得用户基本信息 /sys/profile
export const sysProfileRequest = () => {
  return request.get('/sys/profile')
}
// 修改密码
export const updatePassRequest = ({ oldPassword, newPassword }) => {
  return request.put('/sys/user/updatePass', { oldPassword, newPassword })
}
